//
//  KMenuView.h
//  Keping
//
//  Created by haha on 2017/7/13.
//  Copyright © 2017年 柯平. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KNewStarModel.h"

typedef void (^didSelectRowOfIndexPathBlock)(NSIndexPath *indexPath);

@interface KMenuView : UIView

//传入的是字典数组,如:@[@{},@{}],字典为@{@"icon":@"图片名",@"title":@"扫一扫"}
-(instancetype)initWithFrame:(CGRect)frame itemDictArray:(NSArray *)dictArray;

// 点击显示
- (void)showWithDidSelectRowOfIndexPathBlock:(didSelectRowOfIndexPathBlock)selectRowOfIndexPathBlock;

@end
